package model.data.Interface;

import model.entity.User;

/**
 * 
 * @author Christelle SIAGO HAPPI
 * The interface Observable of the userList
 */

public interface UserListObservable {

    /**
     * add  an observer at the list
     * @param oList
     */
    public void addObservers(UserListObserver oList);

    /**
     * removes an observer from the list
     */
    public void delObservers();

    /**
     * notify an observer to add a new user
     * @param name
     */
    public void notifyObserversToAdd(User user);

    /**
     * notify an observer to remove a user
     * @param name
     */
    public void notifyObserversToRemove(User user);
}